<template>
  <div class="main">
    <div class="side-bar">
      <sideBar></sideBar>
    </div>
    <div class="show-page">
      <div class="header-nav">header</div>
      <div class="page">showPage</div>
    </div>
  </div>
</template>

<script setup>
import sideBar from './sideBar/index.vue'
</script>

<style lang="scss" scoped>
.main {
  height: 100%;
  display: flex;
  .side-bar {
    width: 200px;
    padding: 25px;
    background-color: skyblue;
  }
  .show-page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    .header-nav {
      height: 100px;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: greenyellow;
    }
    .page {
      height: 100%;
      background-color: pink;
    }
  }
}
</style>
